
<template>
    <rx-dialog @cancel="cancel" :showok="false">
        <rx-layout>
            <div slot="center">
                <a-form-model ref="form"  :model="mdl" :label-col="labelCol" :wrapper-col="wrapperCol">
                  <a-form-model-item  :label="i18n('form.clientId','应用ID')" prop = "clientId">
                    {{mdl.clientId}}
                  </a-form-model-item>
                  <a-form-model-item  :label="i18n('form.clientName','应用名称')" prop = "clientName">
                    {{mdl.clientName}}
                  </a-form-model-item>
                  <a-form-model-item  :label="i18n('form.ip','访问IP')" prop = "ip">
                    {{mdl.ip}}
                  </a-form-model-item>
                  <a-form-model-item  :label="i18n('form.userAgentDetail','UA详细信息')" prop = "userAgentDetail">
                    {{mdl.userAgentDetail}}
                  </a-form-model-item>
                  <a-form-model-item  :label="i18n('form.userBrowser','用户使用浏览器')" prop = "userBrowser">
                    {{mdl.userBrowser}}
                  </a-form-model-item>
                  <a-form-model-item  :label="i18n('form.userName','操作用户')" prop = "userName">
                    {{mdl.userName}}
                  </a-form-model-item>
                </a-form-model>
            </div>
        </rx-layout>
    </rx-dialog>
</template>
<script>
    import ApplicationAccessLogApi from '@/api/user/org/applicationAccessLog'
    import {RxDialog,BaseFormModel} from "@lowcode/jpaas-common-lib";


    export default {
        name: 'ApplicationAccessLogDetail',
        mixins:[BaseFormModel],
        components: {
            RxDialog,
        },
        data(){
          return {
          }
        },
        methods: {
          i18n(name,text,key){
            return this.$ti18(name,text,"ApplicationAccessLog",key);
          },
            get(id){
                return ApplicationAccessLogApi.get(id);
            },

            save(){
                return ApplicationAccessLogApi.save(this.mdl);
            },

        }
    }
</script>
<style>
    .relick a{
        margin-right: 10px;
    }

</style>
